package com.eastfair.tag.entity;

import com.eastfair.mongocrud.component.ReplenishInfo;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.io.Serializable;

/**
 * 观众标签
 * Date:2022/3/23
 * Time:13:35
 *
 * @author zjn
 */
@EqualsAndHashCode(callSuper = true)

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "tag_target_exhibitor_product")
@ReplenishInfo(isReplenish = true)
public class TagTargetForExhibitorProduct extends TagTarget implements Serializable {
    private static final long serialVersionUID = -7860472710005190786L;

    /**
     * 展品名称
     */
    @Field("name")
    @ApiModelProperty(value = "展品名称")
    private String name;

    /**
     * 展品英文名称
     */
    @Field("enName")
    @ApiModelProperty(value = "展品英文名称")
    private String enName;

}
